package main

import (
	"gin-demo/middleware"
	"gin-demo/routes"

	"github.com/gin-gonic/gin"
)

func main() {

	r := gin.Default()

	r.Use(middleware.CORSMiddleware())
	routes.InitializeRoutes(r)

	r.Run(":8089")

}
